package com.yiwenup.leave.sample.domain.leave.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yiwenup.leave.sample.domain.leave.repository.po.ApprovalInfoPO;
import com.yiwenup.leave.sample.domain.leave.repository.po.LeavePO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApprovalInfoDao extends BaseMapper<ApprovalInfoPO> {

    List<LeavePO> queryByApplicantId(String applicantId);

    List<ApprovalInfoPO> queryByLeaveId(String leaveId);

}
